//
//  FindTableViewCell.m
//  FoodList
//
//  Created by 王金晶 on 16/4/7.
//  Copyright © 2016年 王金晶. All rights reserved.
//

#import "FindTableViewCell.h"
#import <UIImageView+WebCache.h>
@implementation FindTableViewCell
- (void)setModel:(FindModel *)model
{
    _model = model;
    [self.icon sd_setImageWithURL:[NSURL URLWithString:model.imageUrl]];
    self.title.text = model.name;
    self.nickName.text = model.nickname;
    self.contect.text = model.myingredients;
    self.hitscount.text = [NSString stringWithFormat:@"%@次点击   %@个收藏   %@个赞   %@个评论",model.hitscount,model.collectCount,model.likeCount,model.commentCount];
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
